/* eslint-disable react/prop-types */
function Loading(props) {

  return ( <>{props.visible&&<div className="Loading">
    <div className="LoadingBox" >
      <p className="LoadingTitle">{props.title}</p>
    </div>
    </div>}</> );
}

export default Loading;

// props: visible是否显示加载提示 ,title:提示内容
Loading.defaultProps = {
  visible:false
}
 